package com.xy.ddd.core.model;

import java.util.List;

public class PageData<T> extends Page {
    private List<T> data;

    public PageData() {
    }

    public PageData(List<T> data, Long currentPage, Long totalCount) {
        super(currentPage, totalCount);
        this.data = data;
    }

    public List<T> getData() {
        return this.data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}